<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>班级事务管理系统</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="http://cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.css">
    <link rel="stylesheet" href="css/style.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="m_sub-index">
<nav class="navbar navbar-inverse navbar-fixed-top g_nav" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="index.html">班级事务管理系统</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#"><span class="js-type">管理员: </span>王</a></li>
                <li><a href="#">个人资料</a></li>
                <li><a href="#">密码修改</a></li>
                <li><a href="#">注销</a></li>
            </ul>
        </div>
    </div>
</nav>
<section class="container">
    <div class="row">
        <!-- js-student / js-teacher / js-admin -->
        <div class="col-sm-3 col-md-3 m_sub_sidebar">
            <div class="user-info text-center">
                <div class="m_sub_avatar">
                    <img src="img/avatar.jpeg" alt="..." class="img-circle">
                </div>
                <div class="m_sub_nick-name text-center">
                    52admln
                </div>
            </div>
            <ul class="nav m_sub_nav-sidebar">
                <li class=""><a href="#">站点信息</a></li>
                <li class="active"><a href="#">用户管理</a></li>
            </ul>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-9 col-md-offset-3 g_main ">
            <form class="m_sub_search-wrap">
                <div class="row">
                    <div class="col-xs-3">
                        <label for="">按类型查询</label>
                        <select class="form-control" required>
                            <option value="1">管理员</option>
                            <option value="2">辅导员</option>
                            <option value="3">教师</option>
                            <option value="3">学生</option>
                        </select>
                    </div>
                    <div class="col-xs-3">
                        <label for="">按班级查询</label>
                        <select class="form-control" required>
                            <option value="1">计应 1503</option>
                            <option value="2">计应 1504</option>
                        </select>
                    </div>
                    <div class="col-xs-3">
                        <label for="">按学号查询</label>
                        <input type="text" class="form-control" placeholder="">
                    </div>
                    <div class="col-xs-3">
                        <label for="">按姓名查询</label>
                        <input type="text" class="form-control" placeholder="">
                    </div>
                </div>
                <div class="m_sub_search-btn">
                    <button type="submit" class="btn btn-primary">查询</button>
                    <button type="reset" class="btn btn-primary">清空</button>
                </div>
            </form>
            <button type="button" class="btn btn-primary">新增</button>
            <div class="table-responsive">

                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>学号</th>
                        <th>姓名</th>
                        <th>班级</th>
                        <th>用户类别</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>2015002501</td>
                        <td>学生1</td>
                        <td>班级1</td>
                        <td>学生</td>
                        <td><button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#myModal">修改</button>
                            <button type="button" class="btn btn-warning btn-xs js-del">删除</button></td>
                    </tr>
                    <tr>
                        <td>2015002502</td>
                        <td>学生2</td>
                        <td>班级2</td>
                        <td>教师</td>
                        <td><button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#myModal">修改</button>
                            <button type="button" class="btn btn-warning btn-xs js-del">删除</button></td>
                    </tr>
                    <tr>
                        <td>2015002503</td>
                        <td>学生3</td>
                        <td>班级3</td>
                        <td>教师</td>
                        <td><button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#myModal">修改</button>
                            <button type="button" class="btn btn-warning btn-xs js-del">删除</button></td>
                    </tr>
                    <tr>
                        <td>2015002504</td>
                        <td>学生4</td>
                        <td>班级4</td>
                        <td>管理员</td>
                        <td><button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#myModal">修改</button>
                            <button type="button" class="btn btn-warning btn-xs js-del">删除</button></td>
                    </tr>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
</section>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" id="myModalLabel">修改权限为</h4>
            </div>
            <div class="modal-body">
                <select class="form-control">
                    <option>学生</option>
                    <option>教师</option>
                    <option>辅导员</option>
                    <option>管理员</option>
                </select>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="http://cdn.bootcss.com/sweetalert/1.1.3/sweetalert.min.js"></script>
<script src="js/admin.js"></script>
</body>
</html>
